import { SYSTEM } from "@/services/api";
import {request, METHOD} from '@/utils/request'

export async function sync() {
  return request(SYSTEM+"/sync", METHOD.GET,{})
}
export async function restart() {
  return request(SYSTEM + "/restart", METHOD.POST, {});
}

export async function loadTotal() {
  return request(SYSTEM + "/total", METHOD.POST);
}